package com.example.crm01.entity.system;

import com.alibaba.fastjson2.JSON;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.crm01.entity.BaseEntity;
import lombok.Data;


@Data
@TableName("t_role")
public class Role extends BaseEntity {


    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 备注
     */
    private String roleRemark;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
